package com.example.smart_community.mapper;

import com.example.smart_community.po.Maintainstatus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MaintainstatusMapper {
    @Select("select * from maintainstatus where id=#{id}")
    @Results({
            @Result(property = "supperId",column = "supper_id")
    })
    Maintainstatus selectById(Integer id);
}
